SET REFLECTION SHADING ON
This command will set the specified object to use reflection.
SET REFLECTION SHADING ON Object Number
Object Number
Integer
Specify an object number between 1 and 2415919103.
This command does not return a value.
Use this command when you want to give your object a reflective quality, though not all 3D hardware will support Vertex Shaders which are required to produce this effect. Be aware that you need to point the object you are using to reflect the scene in the direction you want the reflection to deflect on. All primitive objects when created are pointing into the screen. You will need to rotate such objects in order to orient them for your desired reflection plane. Also be aware that there is only one reflection plane per session given the performance hit of this technique, so you cannot have two reflection planes pointing in different directions. Also bear in mind that as a reflection plane can reveal objects not in the unreflected camera frustrum, no frustrum culling will be applied to the scene.
No example code is provided for this command
BASIC3D Commands Menu
Index